Let's add 1 to score every time the fish catches some food.
- Go to and drag Global Variable into the collision event. Change the variable to score.
- From , drag Add Value into the collision event. Change the variable to score.
- Use Update Display inside the collision event to update the score_board with the new value of score.
To navigate the page using the TAB key, first press ESC to exit the code editor.